package com.chunuo.blogs.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 评论
 *
 * @author liujiamiao
 * @email 2544296058@qq.com
 * @date 2020-05-27 11:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(value = {"handler"})
public class Comment implements Serializable {

    private Integer id;
    private String name;
    private String email;
    private String content;

    private Integer blogsId;
    private Integer parentId;

    private Date date;

    private List<Comment> childComment;

}
